package com.hsp.demo_01;

import java.util.Scanner;

/*
Switch
 */
public class Demo_06 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入:");
        char c = scanner.next().charAt(0);
        switch (c){
            case 'a':
                System.out.println((c+"").toUpperCase());
                break;
            case 'b':
                System.out.println((c+"").toUpperCase());
                break;
            case 'c':
                System.out.println((c+"").toUpperCase());
                break;
            case 'd':
                System.out.println((c+"").toUpperCase());
                break;
            default:
                System.out.println("other");
        }
    }
}
